Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / SubStyleCollection Class / CopyTo Method / CopyTo(SubStyle[],Int32) Method
An array of type SubStyle serving as the destination for the copy action.
The zero-based index at which to start placing the copied collection.


In This Topic
    CopyTo(SubStyle[],Int32) Method
    In This Topic
    Copies the items of the SubStyleCollection to a compatible one-dimensional array of type SubStyle, starting at the specified zero-based index of the target array.
    Syntax
    'Declaration
     
    
    Public Overloads Sub CopyTo( _
       ByVal array() As SubStyle, _
       ByVal arrayIndex As Integer _
    ) 
    'Usage
     
    
    Dim instance As SubStyleCollection
    Dim array() As SubStyle
    Dim arrayIndex As Integer
     
    instance.CopyTo(array, arrayIndex)
    public void CopyTo( 
       SubStyle[] array,
       int arrayIndex
    )

    Parameters

    array
    An array of type SubStyle serving as the destination for the copy action.
    arrayIndex
    The zero-based index at which to start placing the copied collection.
    See Also